<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>淘有货后台管理系统</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <%--<link rel="shortcut icon" href="${pageContext.request.contextPath}/font/favicon.ico" type="image/x-icon"/>--%>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/main/font.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/main/xadmin.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/swiper.min.css">
    <script type="text/javascript" src="${pageContext.request.contextPath}/static/js/login/jquery.min.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/static/js/swiper.jquery.min.js"></script>
    <script src="${pageContext.request.contextPath}/static/lib/layui/layui.js" charset="utf-8"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/static/js/main/xadmin.js"></script>

</head>

<body style="overflow: auto">
<form class="layui-form">
    <table class="layui-table" style="width: 90%;margin: auto">
        <thead>
        <tr>
            <th>
                商品图片
            </th>
            <th>
                商品价格
            </th>
            <th class="blockmargin">
                商品数量
            </th>
        </tr>
        </thead>
        <tbody>
        <c:forEach items="${order.orderitems}" var="orderitem">
            <tr>
                <td>
                    <img style="text-align: center;width: 80px;" src="/client/${orderitem.product.imgs}" alt="${orderitem.product.name}">
                </td>
                <td>
                    ￥${orderitem.product.shelfPrice}
                </td>
                <td style="">
                        ${orderitem.count}
                </td>
            </tr>
            <hr>
        </c:forEach>
        </tbody>
    </table>
</form>

<script>
</script>
</body>
</html>
